$(function() {
    // 用户退出
    $('.quit').on('click', () => {
        // console.log('---------');
        $.ajax(baseUrl + '/logout', {
            success: res => {
                console.log(res);
                // location.href = '/login.html';
            },
            error: err => {
                console.log('错误信息');
            }
        });
    });

})